﻿// <copyright file="INetworkReader.cs" company="City of Portland, BES-ASM">
// </copyright>
// <summary>INetworkReader interface.</summary>

namespace BESASM.EMGAATS.DataAccess
{
  using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;
  using BESASM.EMGAATS.BusinessClasses;
  using ESRI.ArcGIS.Geodatabase;

  /// <summary>
  /// Interface for data access modules which read a network and its entities.
  /// </summary>
  public interface INetworkReader : IEntityReader
  {
    /// <summary>
    /// Loads the network from the workspace by adding all entities to it.
    /// </summary>
    /// <param name="network">The network to load.</param>
    void LoadNetwork(BusinessClasses.INetwork network);
  }
}
